package model;

import com.et.ar.ActiveRecordBase;
import com.et.ar.annotations.Column;
import com.et.ar.annotations.Id;
import com.et.ar.annotations.Table;
/**
 * @author zlb
 * @date 2012-6-16 下午08:03:50
 * @desc 用户角色定义表
 *
 */
@Table(name = "sys_priv")
public class Sys_priv extends ActiveRecordBase {
	@Id
	private int id;// 物理主键
	@Column
	private String priv_name;// 角色名称
	@Column
	private String priv_desc;// 描述
	@Column
	private String company_id;//角色对应的单位ID

	public String getCompany_id() {
		return company_id;
	}

	public void setCompany_id(String company_id) {
		this.company_id = company_id;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getPriv_name() {
		return priv_name;
	}

	public void setPriv_name(String privName) {
		priv_name = privName;
	}

	public String getPriv_desc() {
		return priv_desc;
	}

	public void setPriv_desc(String privDesc) {
		priv_desc = privDesc;
	}

}
